package com.bangbang.blog.service.impl;

import com.bangbang.blog.pojo.TbIntegralRunning;
import com.bangbang.blog.mapper.TbIntegralRunningMapper;
import com.bangbang.blog.service.ITbIntegralRunningService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 积分流水表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-12
 */
@Service
public class TbIntegralRunningServiceImpl extends ServiceImpl<TbIntegralRunningMapper, TbIntegralRunning> implements ITbIntegralRunningService {

    @Autowired
    private TbIntegralRunningMapper tbIntegralRunningMapper;

    @Override
    public void insert(TbIntegralRunning tbIntegralRunning) {
        tbIntegralRunningMapper.insert(tbIntegralRunning);
    }

    @Override
    public void select(Long runId) {
        tbIntegralRunningMapper.selectById(runId);
    }
}
